package com.mes.warehouse.mapper;

import com.mes.pojo.warehouse.WarehouseLocation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/25 16:55
 */
@Mapper
public interface WarehouseLocationMapper {
    List<WarehouseLocation> selectAll(WarehouseLocation warehouseLocation);
    WarehouseLocation selectById(String warehouseLocationId,String warehouseAreaId);
    WarehouseLocation selectByName(String warehouseLocationName,String warehouseAreaId);
    WarehouseLocation judgeWhetherInUse(String warehouseAreaId,Integer warehouseLocationNumberX,Integer warehouseLocationNumberY,Integer warehouseLocationNumberZ);
    Long countAreaInUse(String warehouseLocationId,String warehouseAreaId);
    String selectMxId();
    Integer insertWarehouseLocation(WarehouseLocation warehouseLocation);
    Integer updateWarehouseLocation(WarehouseLocation warehouseLocation);
}
